package net.siufung.mybatis.base;

import net.siufung.core.model.AbstractEntity;
import net.siufung.core.model.IRepository;
import net.siufung.core.model.enums.DeletedEnum;

import java.util.List;

/**
 * @author 陈建峰
 * @since 2022/2/9 11:37 下午
 */
public class BaseRepositoryImpl<M extends BaseMapper<T>, T, EK, E extends AbstractEntity<EK>>
        extends BaseServiceImpl<M, T> implements IRepository<EK, E>, BaseService<T> {


    @Override
    public E findByEk(EK ek) {
        return null;
    }

    @Override
    public E findByCondition(E condition) {
        return null;
    }

    @Override
    public List<E> queryList(List<EK> ekList) {
        return null;
    }

    @Override
    public List<E> queryListByCondition(E condition) {
        return null;
    }

    @Override
    public Long countByCondition(E condition) {
        return null;
    }

    @Override
    public EK create(E e) {
        return null;
    }

    @Override
    public boolean createBatch(List<E> eList) {
        return false;
    }

    @Override
    public boolean updateByEk(E e) {
        return false;
    }

    @Override
    public boolean updateByCondition(E e, E s) {
        return false;
    }

    @Override
    public boolean updateStatusByEk(EK ek, DeletedEnum deletedEnum) {
        return false;
    }

    @Override
    public boolean updateBatchByEkList(List<E> eList) {
        return false;
    }

    @Override
    public boolean removeByEk(EK ek) {
        return false;
    }

    @Override
    public boolean removeByCondition(E e) {
        return false;
    }

    @Override
    public boolean removeBatchByEkList(List<EK> ekList) {
        return false;
    }
}
